// eslint-disable-next-line strict
module.exports = app => {
  const { STRING } = app.Sequelize;

  const Resource = app.model.define('resource', {
    title: STRING,
    code: STRING,
    url: STRING,
  });
  return Resource;
};
